package override;

import java.util.List;

public class Graph {
    List<Point> listPoint;
    
    public Graph(List<Point> listPoint) {
        this.listPoint = listPoint;
    }

    public int getPointCount() {
        System.out.println("Graph:getPointCount");
        sub();
        if (listPoint != null) {
            return listPoint.size();
        } else {
            return 0;
        }
    }
    
    private void sub() {
        System.out.println("Graph:sub");
    }
}
